﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="EmbeddedReport.Web.Helpers"%>

<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Home Page
</asp:Content>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
    <h2><%= Html.Encode(ViewData["Message"]) %></h2>
    <ul>
        <li><%= Html.ActionLink("Report PDF", "ReportPdf", "Reports")%></li>
        <li><%= Html.ActionLink("Report Excel", "ReportExcel", "Reports")%></li>
    </ul>
    <%= Html.RenderReport("Report1.rdlc", Model)%>
</asp:Content>
